package com.wn.cloud.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients("com.wn.cloud.api")
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan({"com.wn.cloud"})
public class CloudConsumerFeign {
    public static void main(String[] args) {
        SpringApplication.run(CloudConsumerFeign.class, args);
    }
}
